//数据字典相关api封装
import request from "../utils/request";

const base_api = '/admin/cmn/dict'
export default {
  findByDictCode(dictCode) {
    return request({
      url: `${base_api}/findByDictCode/${dictCode}`,
      method: 'get'
    })
  },

  findByParentId(parentId) {
    return request({
      url: `${base_api}/findChildData/${parentId}`,
      method: 'get'
    })
  }
}

